package com.five.admin.server;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.five.admin.dto.BannerDto;
import com.five.pojo.entity.Banner;

import java.util.List;

public interface BannerService extends IService<Banner> {
    Page<Banner> findAll(Page<Banner> page, BannerDto bannerDto);

    List<Banner> findBannerByPosition(Integer position);
}
